package cn.changeforyou.base.exception;

import cn.changeforyou.base.model.Module;

public class SystemErrorInfo extends AbstractErrorInfo{

    public SystemErrorInfo(String message) {
        super.message = message;
    }

    @Override
    public int getCode() {
        return SystemExceptionEnum.SYSTEM_COMPONENT_IS_NOT_PREPARED.getCode();
    }

    @Override
    public Module getModule() {
        return Module.SYSTEM_MODULE;
    }
}
